<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body>div{
            width: 611px;
            height: 375px;
            background-color: #e8e8e8;
            background-image: url("./pc.png");
            background-repeat: no-repeat;
            background-position: 90% 50%;
            /*上外边距溢出: 给父级添加 overflow:hidden*/
            overflow: hidden;
            /*自动居中*/
            margin: 0 auto;
        }
        div>div{
            width: 245px; height: 235px;
            margin: 70px 0 0 35px;
        }
        p,h1{ margin: 0}
        .title{
            font-size: 30px;
            color: #333;
            margin-bottom: 12px;
        }
        .info{
            font-size: 12px;
            color: #666;
            margin-bottom: 24px;
        }
        .price{
            font-size: 24px;
            color: #1898D5;
            margin-bottom: 18px;
            font-weight: bold;
        }
        .btn{
            display:block; /* 只有转化成块元素才能够设置宽高*/
            width:100px;
            height:40px;
            background:#0AA2ED;
            border-radius:10px;
            text-decoration:none;
            text-align:center;
            line-height:40px;
            color:white;
        }
    </style>
</head>
<body>
    <div>
        <div>
            <h1 class="title">灵越 燃7000 系列</h1>
            <p class="info">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
            英特尔HD显卡620含共享显卡内存</p>
            <p class="price">$4999.00</p>
            <a href="" class="btn">查看详情</a>
        </div>
    </div>
</body>
</html>